package entity;

import java.io.Serializable;

public class Demo implements Serializable {
	
	private int key;
	private String value;
	public String name;
	public String age;
	private String salary;
	public Demo(){}
	public Demo(String name,String age){
		this.name=name;
		this.age=age;
	}
	public String getMe(String name,String age){
		System.out.println("欢迎光临");
		return name+age;
	}
	public int getKey() {
		return key;
	}
	public void setKey(int key) {
		this.key = key;
	}
	public String getValue() {
		return value;
	}
	public void setValue(String value) {
		this.value = value;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getAge() {
		return age;
	}
	public void setAge(String age) {
		this.age = age;
	}
	public String getSalary() {
		return salary;
	}
	public void setSalary(String salary) {
		this.salary = salary;
	}
	
	@Override
	public String toString() {
		return "年龄"+age+""+"姓名"+name;
	}
}
